#include<stdio.h>
int main(){

	int arr[55];
	int sum = 0; 
	
	for (int i=1;i<=50;i++){
		sum += i;
		arr[i] = sum;
	}
	for (int j=1;j<=50;j++){
		printf("%d ",arr[j]);
		if (j % 10==0){
			printf("\n");
		}
	}
	
	return 0;
}
